package cn.flying.cloud.tool.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @author: admin
 * @date: 2024年03月26日 22:02
 * @version: 1.0
 */
public class GenerateConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据库类型
     */
    private String type;
    /**
     * 数据库名称
     */
    private String name;
    /**
     * 主机地址
     */
    private String host;
    /**
     * 端口号
     */
    private String port;
    /**
     * 数据库用户
     */
    private String username;
    /**
     * 数据库密码
     */
    private String password;
    /**
     * 作者
     */
    private String author;
    /**
     * 父包
     */
    private String parent;
    /**
     * 模块名称
     */
    private String moduleName;
    /**
     * 表名
     */
    private String tableName;
    /**
     * 表名（多个）
     */
    private List<String> tableNames;

    /**
     * 代码风格 mybatis/mybatis-plus  MB/MP
     */
    private String codeStyle;

    /**
     * 前缀（表示要去掉的前缀）
     */
    private String prefix;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<String> getTableNames() {
        return tableNames;
    }

    public void setTableNames(List<String> tableNames) {
        this.tableNames = tableNames;
    }

    public String getCodeStyle() {
        return codeStyle;
    }

    public void setCodeStyle(String codeStyle) {
        this.codeStyle = codeStyle;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
